package com.clt.ess.CABeen;

import java.io.Serializable;

//证书吊销业务CA响应参数中的Data参数（同步）
public class RevokeSealCertResponseData implements Serializable {
    //用于区分响应列表的单个请求（与请求对应）
    //必须
    private String requestID;
    //每个申请包处理的返回结果，0 是成功，其他表示错误
    //必须
    private String errorCode;

    /**
     {
         "requestID": "0",
         "errorCode": "0"
     }
     */

    public RevokeSealCertResponseData() {
    }

    public RevokeSealCertResponseData(String requestID, String errorCode) {
        this.requestID = requestID;
        this.errorCode = errorCode;
    }

    public String getRequestID() {
        return requestID;
    }

    public void setRequestID(String requestID) {
        this.requestID = requestID;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"requestID\":\"")
                .append(requestID).append('\"');
        sb.append(",\"errorCode\":\"")
                .append(errorCode).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
